Platform Explorer / Nuxeo Platform 6.0

Extension point models

Documentation

Extension Point for registering new types of Models.

The XML syntax is:

    <model name="model name">
        <class>org.nuxeo.theme.models.ModelClass</class>
    </model>

where: - 'class' is the Java class implementing org.nuxeo.themes.models.Model.

Contribution Descriptors

  • Class: org.nuxeo.theme.models.ModelType

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-theme-fragments-6.0.jar
    <extension point="models" target="org.nuxeo.theme.services.ThemeService">
    
        <model name="text">
          <class>org.nuxeo.theme.models.Text</class>
        </model>
    
        <model name="html">
          <class>org.nuxeo.theme.models.Html</class>
        </model>
    
        <model name="region">
          <class>org.nuxeo.theme.models.Region</class>
        </model>
    
        <model name="navigation">
          <class>org.nuxeo.theme.models.Navigation</class>
          <contains>navigation item</contains>
        </model>
        
        <model name="navigation item">
          <class>org.nuxeo.theme.models.NavigationItem</class>
        </model>
        
        <model name="menu">
          <class>org.nuxeo.theme.models.Menu</class>
          <contains>menu item</contains>
        </model>
        
        <model name="menu item">
          <class>org.nuxeo.theme.models.MenuItem</class>
          <contains>menu item</contains>
        </model>
    
        <model name="feed">
          <class>org.nuxeo.theme.models.Feed</class>
          <contains>feed item</contains>
        </model>
        
        <model name="feed item">
          <class>org.nuxeo.theme.models.FeedItem</class>
        </model>  
    
      </extension>
  • nuxeo-webengine-sites-6.0.jar
    <extension point="models" target="org.nuxeo.theme.services.ThemeService">
        <model name="contextual-link">
          <class>org.nuxeo.webengine.sites.models.ContextualLinkListModel</class>
          <contains>contextual-link item</contains>
        </model>
        <model name="contextual-link item">
          <class>org.nuxeo.webengine.sites.models.ContextualLinkModel</class>
        </model>
    
        <model name="webpage">
          <class>org.nuxeo.webengine.sites.models.WebpageListModel</class>
          <contains>webpage item</contains>
        </model>
        <model name="webpage item">
          <class>org.nuxeo.webengine.sites.models.WebpageModel</class>
        </model>
    
        <model name="webpage-comment">
          <class>org.nuxeo.webengine.sites.models.WebpageCommentListModel</class>
          <contains>webpage-comment item</contains>
        </model>
        <model name="webpage-comment item">
          <class>org.nuxeo.webengine.sites.models.WebpageCommentModel</class>
        </model>
    
        <model name="comment">
          <class>org.nuxeo.webengine.sites.models.CommentListModel</class>
          <contains>comment item</contains>
        </model>
        <model name="comment item">
          <class>org.nuxeo.webengine.sites.models.CommentModel</class>
        </model>
    
        <model name="search">
          <class>org.nuxeo.webengine.sites.models.SearchListModel</class>
          <contains>search item</contains>
        </model>
        <model name="search item">
          <class>org.nuxeo.webengine.sites.models.SearchModel</class>
        </model>
    
        <model name="tag">
          <class>org.nuxeo.webengine.sites.models.TagListModel</class>
          <contains>tag item</contains>
        </model>
        <model name="tag item">
          <class>org.nuxeo.webengine.sites.models.TagModel</class>
        </model>
    
        <model name="tag cloud">
          <class>org.nuxeo.webengine.sites.models.TagCloudListModel</class>
          <contains>tag cloud item</contains>
        </model>
        <model name="tag cloud item">
          <class>org.nuxeo.webengine.sites.models.TagCloudModel</class>
        </model>
      </extension>
  • nuxeo-webengine-blogs-6.0.jar
    <extension point="models" target="org.nuxeo.theme.services.ThemeService">
    
        <model name="blogpost">
          <class>org.nuxeo.webengine.blogs.models.BlogPostListModel</class>
          <contains>blogpostDay item</contains>
        </model>
        <model name="blogpostDay item">
          <class>org.nuxeo.webengine.blogs.models.BlogSiteArchiveDayModel
          </class>
          <contains>blogpost item</contains>
        </model>
        <model name="blogpost item">
          <class>org.nuxeo.webengine.blogs.models.BlogPostModel</class>
        </model>
    
        <model name="blogSiteArchive">
          <class>org.nuxeo.webengine.blogs.models.BlogSiteArchiveListModel
          </class>
          <contains>blogSiteArchiveYear item</contains>
        </model>
        <model name="blogSiteArchiveYear item">
          <class>org.nuxeo.webengine.blogs.models.BlogSiteArchiveYearModel
          </class>
          <contains>blogSiteArchiveMonth item</contains>
        </model>
        <model name="blogSiteArchiveMonth item">
          <class>org.nuxeo.webengine.blogs.models.BlogSiteArchiveMonthModel
          </class>
        </model>
    
      </extension>